﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Platform.LanguageProcessing.Expressions
{
	public abstract class WordExpression : GrammarExpression
	{

		protected WordExpression( string word, GrammarClass @class )
			: base( @class)
		{
			if ( String.IsNullOrEmpty( word ) )
				throw new ArgumentNullException( "word" );

			this.Word = word;
		}

		public string Word
		{ get; private set; }
	}
}
